import sun.awt.PeerEvent;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-08-13  11:05
 */
class Person {
    public String name;
    public int age;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public void show() {
        System.out.println("姓名：" + name + " 年龄：" + age);
    }
}
public class Test {
    public static void main(String[] args) {
        Person person = new Person("张三",10);
        person.show();
    }
}
